#ifndef NNE_MEM_SRAM_H_
#define NNE_MEM_SRAM_H_

#include "type.h"
#include "util.h"
#include "mem_if.h"

class Sram : public MemInterface{
public:
    Sram(u64 sram_size);
    void write_mem(u64 dst, void* src, u64 length);
    void read_mem(void* dst, u64 src, u64 length);
    u64 get_ram_size();
    void* get_ram_pointer();
    ~Sram();
private:
    s8* SramArray;
    u64 SramSize;
};

#endif
